﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace SharpGen.Templates
{
    [Serializable]
    public class TemplateProjectReference
    {
        private string _fileName;
        [XmlAttribute]
        public string FileName
        {
            get { return _fileName; }
            set { _fileName = value; }
        }

        private bool _copyLocal = true;
        [XmlAttribute]
        public bool CopyLocal
        {
            get { return _copyLocal; }
            set { _copyLocal = value; }
        }

        private bool _isGACReference = false;
        [XmlAttribute]
        public bool IsGACReference
        {
            get { return _isGACReference; }
            set { _isGACReference = value; }
        }

        public TemplateProjectReference(string fileName, bool copyLocal, bool isGACReference)
        {
            _fileName = fileName;
            _copyLocal = copyLocal;
            _isGACReference = isGACReference;
        }

        public TemplateProjectReference()
        {

        }
    }
}
